<!DOCTYPE html>
<html>
<head>
  <title>training</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="./frame/bootstrap4.4.1.css">
  <link rel="stylesheet" href="./css/training.css">
  <script src="./frame/jquery3.4.1.js"></script>
  <script src="./frame/popper1.16.1.js"></script>
  <script src="./frame/bootstrap4.4.1.js"></script>
</head>
<body class="bg-light">


<div class="flex-row-center mt-3">
  <div class="card software-box">
    <div class="card-header">
      <ol class="breadcrumb">
        <li class="breadcrumb-item">
            <select>
            <option value="basis">CSS</option>
          </select>
        </li>
        <li class="breadcrumb-item active">
          <select id="training_chapter">
            <option value="basis">基础知识</option>
            <option value="selector">选择器</option>
            <option value="weight">元素权重</option>
            <option value="text">文本控制</option>
            <option value="box">盒子模型</option>
            <option value="background">背景处理</option>
            <option value="table">数据样式</option>
            <option value="float">浮动布局</option>
            <option value="position">定位布局</option>
            <option value="flex">弹性盒子</option>
            <option value="grid">栅格系统</option>
            <option value="transform">变形动画</option>
            <option value="transition">过渡延迟</option>
            <option value="animation">帧动画</option>
            <option value="media">媒体查询</option>
            <option value="jq">jq</option>
          </select>
        </li>
      </ol>
    <h1 class="pb-2 pt-1 text-center" id= "title">栅格系统</h1>
   </div>
    <div class="card-body d-flex justify-content-between flex-column">
      <div class="alert alert-primary height-subject d-flex flex-column justify-content-center h5">
        <p class="indent-2 mb-1" id="question_auto">Bootstrap 4 的______系统是响应式的，列会根据屏幕大小自动重新排列。</p> 
      </div> 
      <div class="d-flex justify-content-center">
          <div class="input-group width-answer">
            <div class="input-group-prepend">
              <span class="input-group-text">作 答</span>
            </div>
            <input type="text" class="form-control"  id="answer_write" onkeyup="train.next_key(event)">
          </div>
      </div>
      <div class="d-flex justify-content-center">
         <button type="button" class="width-btn btn btn-success btn-lg mr-5" id="begin" onclick="train.begin()">启 动</button>
         <button class="width-btn btn btn-warning btn-lg"  id="next" onclick="train.next()">提 交</button>
      </div>
      <div>
          <div id="message_box" class="alert alert-success text-center">
              <strong id="message">非常棒！</strong> 
          </div>
      </div>
    </div> 
    <div class="card-footer d-flex justify-content-around">
      <div class="h5 pt-1">题目数: <span id="question_num">88</span></div>
      <div class="h5 pt-1">答题数: <span id="answer_num">0</span>  </div>
      <div class="h5 pt-1">得分: <span id="score">0</span>  </div>
    </div>
  </div>
</div>

<script type="text/javascript" src='./js/train_css.js'></script>
<script type="text/javascript" src='./js/train.js'></script>
</body>
</html>